package com.gagakuai.framework.task;

import org.camunda.bpm.engine.ManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/*
 * @program: common-starters
 * @description:
 * @author: houhong
 * @create: 2022-12-13 17:35
 */
@Service
public class AsyncJobService {

    @Autowired
    private ManagementService managementService;

    /*
    *  执行异步任务
    *
    */
    public  void executeJob(){

        String jobId = "houhong";
        managementService.executeJob(jobId);
    }


}